import request from '@/utils/request'

// 查询废气采集列表
export function listOpmEnvExhaustTest(query) {
  return request({
    url: '/environment/opmEnvExhaustTest/list',
    method: 'get',
    params: query
  })
}

// 查询废气采集详细
export function getOpmEnvExhaustTest(id) {
  return request({
    url: '/environment/opmEnvExhaustTest/' + id,
    method: 'get'
  })
}

// 新增废气采集
export function addOpmEnvExhaustTest(data) {
  return request({
    url: '/environment/opmEnvExhaustTest',
    method: 'post',
    data: data
  })
}

// 修改废气采集
export function updateOpmEnvExhaustTest(data) {
  return request({
    url: '/environment/opmEnvExhaustTest',
    method: 'put',
    data: data
  })
}

// 删除废气采集
export function delOpmEnvExhaustTest(id) {
  return request({
    url: '/environment/opmEnvExhaustTest/' + id,
    method: 'delete'
  })
}
